<div data-role="panel" class="jqm-navmenu-panel" data-position="right" data-display="reveal" data-theme="a">
    <div class="logo">
        <img src="{{Asset('assets/images/logo-menu.png')}}" />
    </div>
    <ul class="jqm-list">
        <li class="shop-insurance <?php if (Route::currentRouteName() == 'trip.input') { echo "active"; } ?> ">
            <a href="{{URL::to('/trip/input')}}" data-ajax="false"><i class="icon-insurance"></i> Shop</a>
        </li>
        <li class="policies <?php if (Route::currentRouteName() == 'user.policy') { echo "active"; } ?> ">
            <a href="{{URL::to('/user/policy')}}" data-ajax="false"><i class="icon-policies"></i> Policies</a>
        </li>
        <li class="travelers <?php if (Route::currentRouteName() == 'travelers') { echo "active"; } ?> ">
            <a href="{{URL::to('/travelers')}}" data-ajax="false"><i class="icon-travelers"></i> Travellers</a>
        </li>
        <?php
            $show_profile = 0;
            $user = Sentry::getUser();
            if (!empty($user)) {
                if ($user->verified == 1) {
                    $show_profile = 1;
                }
            }
        ?>
        @if ($show_profile)
        <li class="about-me <?php if (Route::currentRouteName() == 'user.about') { echo "active"; } ?> ">
            <a href="{{URL::to('/user/about')}}" data-ajax="false"><i class="icon-about"></i> My Account</a>
        </li>
        @endif
        <li class="give-feedback <?php if (Route::currentRouteName() == 'feedback') { echo "active"; } ?> ">
            <a href="{{URL::to('/feedback')}}" data-ajax="false"><i class="icon-feedback"></i> Feedback</a>
        </li>
        <li class="signout">
            <a href="{{URL::to('/logout')}}" data-ajax="false"><i class="icon-signout"></i> Sign Out</a>
        </li>
    </ul>
    
</div><!-- /panel -->


